package com.lipiao.traveltreasure.bean.restaurantBean;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
@AllArgsConstructor
public class OrderJson {


    /**
     * openid : dqidubqiudqiudg
     * prices : 333.9
     * foodlist : [{"foodid":"1","name":"可乐排骨","number":1},{"foodid":"12","name":"糖醋萝卜","number":1},{"foodid":"14","name":"雪碧","number":2}]
     */

    private String openid;
    private Double prices;
    private List<FoodlistBean> foodlist;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Double getPrices() {
        return prices;
    }

    public void setPrices(Double prices) {
        this.prices = prices;
    }

    public List<FoodlistBean> getFoodlist() {
        return foodlist;
    }

    public void setFoodlist(List<FoodlistBean> foodlist) {
        this.foodlist = foodlist;
    }

    public static class FoodlistBean {
        /**
         * foodid : 1
         * name : 可乐排骨
         * number : 1
         */

        private String foodid;
        private String name;
        private Integer number;

        public String getFoodid() {
            return foodid;
        }

        public void setFoodid(String foodid) {
            this.foodid = foodid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getNumber() {
            return number;
        }

        public void setNumber(Integer number) {
            this.number = number;
        }
    }
}

